package final2107.day06;

public class Test2 {
    public static void main(String[] args) {
        T t = new T();
        T t1 = new T();
        Thread thread1 = new Thread(){
            @Override
            public void run() {
                t.demo();
            }
        };

        Thread thread2 = new Thread(){
            @Override
            public void run() {
                t1.demo();
            }
        };
        thread1.start();
        thread2.start();
    }
}
